package com.spring.aop.cglib;

import static org.junit.Assert.*;

import org.junit.Test;

public class CustomDaoTest {
	
	/*
	 * cglib代理测试
	 */

	@Test
	public void test() {
		CustomDao customDao=new CustomDao();
		CustomDao proxy=new CglibProxy(customDao).createProxy();
		
		proxy.save();
		proxy.find();
		proxy.update();
		proxy.deleta();
				
	
	}

}
